//
//  UMPView.h
//  UMPDemo
//
//  Created by Jonathan Diehl on 01.03.10.
//  Copyright 2010 RWTH. All rights reserved.
//

#import <Cocoa/Cocoa.h>

#define TOUCH_TRAIL_LENGTH 50

@class UMPListener;
@interface UMPView : NSView {
	NSMutableDictionary *touchTrails;
	NSArray *touches;
	UMPListener *umpListener;
	
	BOOL showGrid;
	BOOL showTouches;
	BOOL showTouchesPressure;
	BOOL showTouchTrail;
	BOOL showPreviousTouch;
}

@property(assign) BOOL showGrid;
@property(assign) BOOL showTouches;
@property(assign) BOOL showTouchesPressure;
@property(assign) BOOL showTouchTrail;
@property(assign) BOOL showPreviousTouch;

@property(retain, nonatomic) UMPListener *umpListener;
@property(retain, nonatomic) NSArray *touches;

@end
